{if !empty($href)}
  <a href="{$href}" class="form_button{if isset($disabled)} disabled{/if}{if !empty($class)} {$class}{/if}" title="{$title}" {if !empty($id)}id="{$id}"{/if} {if !empty($target)}target="{$target}"{/if}><span>{$title}{if !empty($image_class)}<span class="{$image_class}">&nbsp;</span>{/if}</span></a>
{else}
  <button value="{if (!isset($value))}{$title}{else}{$value}{/if}" type="submit" class="form_button{if isset($disabled)} disabled{/if}{if !empty($class)} {$class}{/if}" title="{$title}" {if !empty($id)}id="{$id}"{/if} {if !empty($name)}name="{$name}"{/if}><span>{$title}{if !empty($image_class)}<span class="{$image_class}">&nbsp;</span>{/if}</span></button>
{/if}